package cn.itsource.sm.service.impl;

import cn.itsource.basic.service.impl.BaseServiceImpl;
import cn.itsource.sm.domain.Systemdictionarydetail;
import cn.itsource.sm.domain.Systemdictionarytype;
import cn.itsource.sm.mapper.SystemdictionarydetailMapper;
import cn.itsource.sm.mapper.SystemdictionarytypeMapper;
import cn.itsource.sm.service.ISystemdictionarydetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class SystemdictionarydetailImpl extends BaseServiceImpl<Systemdictionarydetail> implements ISystemdictionarydetailService{
    @Autowired
    private SystemdictionarydetailMapper mapper;
       @Override
    public List<Systemdictionarydetail> querybyidlist(Long id) {
        return  mapper.querybyidlist(id);
    }

    @Override
    @Transactional
    public void dele(Long id) {
        mapper.dele(id);
    }

}
